2027 Method
Changes 0
M

PathOfTravel.UpdateMultiple

Description:
Updates the specified paths of travel by recalculating each path using their original start and end points and provides creation result statuses.
Remarks:
For unsuccessfully updated elements, Revit will post warnings.
Overloads (2):
UpdateMultiple(Document,IList[ElementId],IList[PathOfTravelCalculationStatus])
public static int UpdateMultiple(
	Document adoc,
	IList<ElementId> elementsToUpdate,
	out IList<PathOfTravelCalculationStatus> resultStatus
)
  • adoc
    Document of elements to be updated.
  • IList<ElementId>
    elementsToUpdate
    The list of ElementIdof the paths to update.
  • resultStatus
    Result statuses of each path of travel creation. The order of statuses corresponds to the order of elements in the array passed to the function.
Return Value Int32 number of successfully updated elements